#ifndef TIMERLISTENER_H
#define TIMERLISTENER_H

#include "bga/system/Listener.h"
#include "bga/system/TimerEvent.h"

/**
 * \namespace bga
 * \brief API namespace
 */
namespace bga
{

/*!
 * \brief Represents a Timer Listener
 *
 * This class represents a Timer Listener. We find all the functions to handle Timer Event
 */
class BOARD_HELL_ENGINE TimerListener : public Listener
{
    public:
        /*!
         * \brief Function to handle a time elapsed
         * \param event : TimerEvent containing all the information about the sent event
         *
         * Function to handle a time elapsed. This function is abstract.
         */
        virtual void timeElapsed(const bga::TimerEvent &event) = 0;

};

}

#endif // TIMERLISTENER_H

